.class public Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/app/DatePickerDialog$OnDateSetListener;
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/os/Handler;

.field private g:Ljava/util/HashMap;

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Lcom/waiqin365/compons/view/c;

.field private l:I

.field private m:Landroid/widget/TextView;

.field private n:I

.field private o:Ljava/util/ArrayList;

.field private p:Ljava/util/HashMap;

.field private q:Ljava/lang/String;

.field private r:Lcom/waiqin365/compons/view/c;

.field private s:Lcom/waiqin365/compons/view/c;

.field private t:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->n:I

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->t:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->n:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->h:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->h:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/au;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/kehu/au;-><init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)V

    move-object v1, p0

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->k:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->k:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/at;

    invoke-direct {v5, p0, p2}, Lcom/waiqin365/lightapp/kehu/at;-><init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Z)V

    move-object v1, p0

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->k:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->k:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->t:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->i:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->i:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->j:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->j:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->r:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private d()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v1

    const-string/jumbo v0, "cmId"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->q:Ljava/lang/String;

    const-string/jumbo v0, "linkman"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v0, "linkmanConfigs"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->o:Ljava/util/ArrayList;

    const-string/jumbo v0, "comefrom"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    return v0
.end method

.method private e()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/aq;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/aq;-><init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->f:Landroid/os/Handler;

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    return-object v0
.end method

.method private f()V
    .locals 0

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->f:Landroid/os/Handler;

    return-object v0
.end method

.method private g()V
    .locals 2

    const v0, 0x7f0c01da

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    const v0, 0x7f0c0303

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0305

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->b:Landroid/widget/TextView;

    const v0, 0x7f0c0309

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f0800e3

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f080716

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c022f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0246

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->m:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->m:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->h()V

    return-void

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f080117

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->s:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private h()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->o:Ljava/util/ArrayList;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->o:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    invoke-static {p0, v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;Ljava/util/HashMap;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v1, v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v1, :cond_0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    goto :goto_0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private i()V
    .locals 4

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->j()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->s:Lcom/waiqin365/compons/view/c;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v3, Lcom/waiqin365/lightapp/kehu/as;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/kehu/as;-><init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->s:Lcom/waiqin365/compons/view/c;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->s:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0805a6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->s:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->c()V

    goto :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->k:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private j()Z
    .locals 4

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v3, v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v3, :cond_1

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->c_()Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "CMContactEditActivity"

    const-string/jumbo v1, "\u4fee\u6539\u4e86"

    invoke-static {v0, v1}, Lcom/tencent/mm/sdk/platformtools/Log;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v2, 0x1

    :cond_0
    return v2

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->n:I

    return v0
.end method


# virtual methods
.method public a()Z
    .locals 8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v4

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->p:Ljava/util/HashMap;

    move v3, v2

    :goto_0
    if-ge v3, v4, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    instance-of v0, v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v0, :cond_2

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->p:Ljava/util/HashMap;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v7, "linkman."

    invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->k()Z

    move-result v0

    if-eqz v0, :cond_1

    if-eqz v5, :cond_0

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_1

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->c()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const v1, 0x7f080065

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff01"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a(Ljava/lang/String;)V

    move v0, v2

    :goto_1
    return v0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->m()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_0

    :cond_3
    const/4 v0, 0x1

    goto :goto_1
.end method

.method public b()V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080245

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/ar;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/kehu/ar;-><init>(Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->r:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->r:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method public c()V
    .locals 4

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->t:Z

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v2, "linkman"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    const/16 v1, 0x7f

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->setResult(ILandroid/content/Intent;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->t:Z

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->back()V

    return-void
.end method

.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->i()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v1, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->i()V

    goto :goto_0

    :sswitch_1
    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f080718

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a(Ljava/lang/String;Z)V

    goto :goto_0

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->l:I

    if-ne v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->p:Ljava/util/HashMap;

    const-string/jumbo v2, "linkman.id"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v4, "id"

    invoke-virtual {v3, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->p:Ljava/util/HashMap;

    const-string/jumbo v2, "linkman.customerId"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->q:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/a/x;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->p:Ljava/util/HashMap;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/kehu/a/a/x;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->f:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    goto :goto_0

    :sswitch_2
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->b()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c01da -> :sswitch_0
        0x7f0c0246 -> :sswitch_2
        0x7f0c0303 -> :sswitch_0
        0x7f0c0309 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030056

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMContactEditActivity;->f()V

    return-void
.end method

.method public onDateSet(Landroid/widget/DatePicker;III)V
    .locals 0

    return-void
.end method
